Skip to content

improve the confused assert message #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 30, 2019
Merged

Conversation

Alanscut
Copy link
Contributor

The test cases for bean parse are good, but some assert messages make people coufused, some fields are found but described as not working, while another fields are not found but described as found.

@stleary
Copy link
Owner

stleary commented Dec 29, 2019

@Alanscut thanks for helping improve the unit tests. I think some of your assert messages may still be off, have commented same. Let me know if you disagree.
These asserts are very confusing, adding comments and clear assert messages helps everyone to understand them better.

@Alanscut
Copy link
Contributor Author

@stleary Thanks your suggestion! It make the assert messages more clear 👍

@stleary stleary merged commit f07ddd9 into stleary:master Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants